package cn.zhang.order.client.impl;

import cn.zhang.order.client.UserClient;
import com.ruoyi.common.core.web.domain.AjaxResult;
import org.springframework.stereotype.Component;

@Component
public class UserFallBackImpl implements UserClient {
    @Override
    public AjaxResult findByName(String username) {
        return AjaxResult.error("zhang-user-->findByName()服务出现问题啦！");
    }
}
